package com.czk.model.mediator;

/**
 * @Author:ChenZhangKun
 * @Date: 2020/5/13 21:29
 */
public abstract class Mediator {
    // 注册自己
    public abstract void register(String name,Colleague colleague);
    // 接收具体的同事发出的消息
    public abstract void getMessage(int stateChange,Colleague colleague);
    //
    public abstract void sendMessage();
}
